package com.beta.dto.admin;

import com.beta.em.transacrion.TransactionSubject;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by lichao on 2017/1/26.
 */
@Getter
@Setter
public class TransactionDetailDto implements Serializable {
    private static final long serialVersionUID = 2724157934203960088L;
    private String code;
    private String orderCode;
    private String balanceCode;
    private String balanceAgency;
    private BigDecimal amount;
    private String subject;
    private Date createdAt;
    private String orderId;
    private String accountCode;
    private String childAccountCode;
    private String username;
    private String userType;
    private String cityName;
    private String remark;

    public String getSubjectText(){
        return TransactionSubject.getCnValue(subject);
    }
}
